package com.candy.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.candy.common.entity.BaseEntity;
import com.candy.common.entity.TreeEntity;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * <p>
 * 菜单
 * </p>
 *
 * @author pxs
 * @since 2021-06-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_menu")
@ApiModel(value="Menu对象", description="菜单")
public class Menu extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "菜单链接")
    private String href;

    @ApiModelProperty(value = "菜单图标")
    private String icon;

    @ApiModelProperty(value = "菜单打开方式")
    private String target;

}
